package com.project.service;

import com.project.bean.ProductBean;

import java.time.LocalDate;
import java.util.List;

public interface IProductService {
    public void add(ProductBean product);
    public void del(Integer id);
    public void update(Integer id,Integer price);
    public List<ProductBean> findAll();
    public ProductBean findById(int id);
    public List<ProductBean> findByItem(String name,
           LocalDate startDate,LocalDate endDate);
}
